package com.zyk.scaffold.seata.stock.repositorys.mapper;

import com.zyk.scaffold.seata.stock.business.stock.pojo.request.StockRequest;
import com.zyk.scaffold.seata.stock.repositorys.entity.StockTbl;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.springframework.stereotype.Repository;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author zhouyk
 * @since 2023-06-28
 */
@Repository
public interface StockTblMapper extends BaseMapper<StockTbl> {
    int consumeStock(StockRequest stockRequest);
}
